Window-related stuff cleanup here and there.
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 2 Nov 2012 10:34:26 +0000 (14:34 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 2 Nov 2012 10:34:26 +0000 (14:34 +0400)
commit9128d2bd4196b8943fc8649ae77857712526d9f3
tree436a3bf3f8b77672b5edc78860370c4f1ceaec66
parent4c8c540333ec9fa55e51a9c4fd5696aa5fa6372a
Window-related stuff cleanup here and there.
* dispnew.c (Finternal_show_cursor, Finternal_show_cursor_p):
Use decode_any_window.
* fringe.c (Ffringe_bitmaps_at_pos): Likewise.
* xdisp.c (Fformat_mode_line): Likewise.
* font.c (Ffont_at): Use decode_live_window.
* indent.c (Fcompute_motion, Fvertical_motion): Likewise.
* window.c (decode_next_window_args): Likewise.
(decode_any_window): Remove static.
* window.h (decode_any_window): Add prototype.
* lisp.h (CHECK_VALID_WINDOW, CHECK_LIVE_WINDOW): Move from here...
* window.h: ...to here, redefine via WINDOW_VALID_P and WINDOW_LIVE_P,
respectively.
src/ChangeLog
src/dispnew.c
src/font.c
src/fringe.c
src/indent.c
src/lisp.h
src/window.c
src/window.h
src/xdisp.c